<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <title>文件上传</title>
</head>
<body>
您所上传的文件是：<s:property value="uploadFileName"/><br/>
文件类型：<s:property value="uploadContentType"/><br/>
图片： <img src="<%=basePath%>/upload/<s:property value='uploadFileName'/>" />
</body>
</html>
